package com.woniuxy.yoga.notice.model.exception;

public enum NoticeExceptionCode {
    NOTICE_EXCEPTION_CODE_SYSTEMNOTICE_NOTEXITS(60001,"该公告不存在"),
    NOTICE_EXCEPTION_CODE_NOTICESTATE_ERROR(60002,"公告状态有误，不能进行此操作");
    private Integer code;
    private String message;

    NoticeExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
